package com.xing.demo;

public class 喝酒令 {
    //遇到7，7的倍数跳过去，一行显示6个
    public static void main(String[] args) {
        int count=0; //计数器
        for (int i = 1; i < 100; i++) {
            if(i%7==0||1%10==7||i/10==7){
                continue;
            }
            System.out.print(i+"\t");
            count++;
            if(count%6==0){
                System.out.println();
            }


        }
    }
}
